package com.cat.dao;

import com.cat.entity.Dict;

import java.util.List;

public interface DictDao extends BaseDao<Dict>{
    List<Dict> findListByParentId(Long parentId);

    Integer countIsParent(Long id);

    Dict findDictByDictCode(String dictCode);

    String getNameById(Long id);
}
